{include file="width/top.html"}
<!--<script type="text/javascript" src="{lib file=cart.js}" charset="utf-8"></script>-->
<div class="car_nav w1000">
    <div class="logoimg"><a href="index.php"><img src="{$site_logo}"></a></div>
    <div class="shopCarnav">
    <span></span>
    </div>
    <div class="carmsg">正品行货，全国联保，尽享购物乐趣 ！</div>
</div>
<div class="car_content w1000">
        <div class="buy">
            <h2><b class="ico">{$lang.your_cart_goods}</b></h2>
        	<!--{foreach from=$carts item=cart key=store_id}-->
                <div class="buytable">
                    <table>
                        <tr>
                            <th width="420">{$lang.store_goods}</th>
                            <th>{$lang.price}</th>
                            <th>{$lang.quantity}</th>
                            <th>{$lang.subtotal}</th>
                            <th>{$lang.handle}</th>
                        </tr>
                        <!--{foreach from=$cart.goods item=goods}-->
                        <tr id="cart_item_{$goods.rec_id}">
                            <td class="padding10">
                                <p class="ware_pic"><a href="{url app=goods&id=$goods.goods_id}" target="_blank"><img src="{$goods.goods_image}" alt="{$goods.goods_name|escape}" width="65" height="65" /></a></p>
                                <h3 class="mt10">
                                    <a href="{url app=goods&id=$goods.goods_id}" target="_blank">{$goods.goods_name|escape}</a>
                                    <span class="attr">{$goods.specification|escape}</span>
                                </h3>
                            </td>
                            <td class="alignc"><span class="price1">{$goods.price|price}</span></td>
                            <td class="alignc">
                                <img src="{res file="images/subtract.gif"}" onclick="decrease_quantity({$goods.rec_id});" alt="{$lang.decrease}" width="12" height="12" />
                                <input id="input_item_{$goods.rec_id}" value="{$goods.quantity}" orig="{$goods.quantity}" changed="{$goods.quantity}" onkeyup="change_quantity({$store_id}, {$goods.rec_id}, {$goods.spec_id}, this);" class="text1 width3" type="text" />
                                <img src="{res file="images/adding.gif"}"onclick="add_quantity({$goods.rec_id});" alt="{$lang.increase}" width="12" height="12" />
                            </td>
                            <td class="align1"><span class="price2" id="item{$goods.rec_id}_subtotal">{$goods.subtotal|price}</span></td>
                            <td class="alignc">
                                <a class="move" href="javascript:;" onclick="move_favorite({$store_id}, {$goods.rec_id}, {$goods.goods_id});">{$lang.move_favorite}</a>
                                <a class="del" href="javascript:;" onclick="drop_cart_item({$store_id}, {$goods.rec_id});">{$lang.drop}</a>
                            </td>
                        </tr>
                        <!--{/foreach}-->
                    </table>
                    <div class="buy_foot">
                        <p>{$lang.goods_amount}:&nbsp;&nbsp;<strong class="fontsize1" id="cart{$store_id}_amount">{$cart.amount|price}</strong></p>
                        <p>
                            <a href="{url app=order&goods=cart&store_id=$store_id}" class="btn"></a>
                            <a href="{url app=store&id=$store_id}" class="back"><<{$lang.goon_shopping}</a>
                        </p>
                    </div>
                </div>
        <!--{/foreach}-->
        </div>
</div>
{include file="footer.html"}